﻿using System;
using System.Collections.Generic;
using System.Text;
using DevExpress.ExpressApp.DC;
using DevExpress.Persistent.Base;
using DevExpress.Xpo;
using DevExpress.Persistent.Validation;
using DevExpress.ExpressApp;
using DevExpress.Data.Filtering;
using DevExpress.ExpressApp.SystemModule;
using DevExpress.ExpressApp.Actions;
using DevExpress.Persistent.Base.General;
using System.ComponentModel;
using DomainComponents.Common;
using System.Drawing;
using DevExpress.Xpo.Metadata;

namespace DomainComponents.XCRM {
    [DomainComponent, XafDefaultProperty("Name")]
    [ImageName("BO_Category")]
    [XafDisplayName("Category")]
    public interface ICategory : IDCTreeNode {
        [Size(SizeAttribute.Unlimited), Delayed(true), ValueConverter(typeof(ImageValueConverter))]
        Image Image { get; set; }
        [FieldSize(4000)]
        string Description { get; set; }
    }

}

